package zjh.msg.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zjh.msg.entity.Permission;
import zjh.msg.mapper.PermissionMapper;
import zjh.msg.service.UserService;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public Permission login(Permission permission) {
        return permissionMapper.login(permission);
    }
}
